<style>
    .layui-iconpicker-body.layui-iconpicker-body-page .hide {
        display: none;
    }
    .select_a {
            color: #009688;
            padding: 2px;
            margin: 2px;
            border: #009688 1px dashed;
        }
</style>
<link rel="stylesheet" href="__STATIC__/plugs/lay-module/autocomplete/autocomplete.css?v={$version}" media="all">
<div class="layuimini-container">
    <form id="app-form" class="layui-form layuimini-form">
                <div class="layui-form-item">
            <label class="layui-form-label">名称</label>
            <div class="layui-input-block">
                <input type="text" id="name" name="name" readonly class="layui-input" lay-reqtext="请输入名称" placeholder="请输入名称" value="{$row.name|default=''}">
                <tip></tip>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">排序</label>
            <div class="layui-input-block">
                <input type="text" id="sort" name="sort" readonly class="layui-input" lay-reqtext="请输入排序" placeholder="请输入排序" value="{$row.sort|default=''}">
                <tip></tip>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">图片</label>
            <div class="layui-input-block layuimini-upload">
                <input name="img" class="layui-input layui-col-xs6 img" placeholder="请上传图片" value="{$row.img|default=''}">
                <tip></tip>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">宣传banner</label>
            <div class="layui-input-block layuimini-upload">
                <input name="banner" class="layui-input layui-col-xs6 img" placeholder="请上传宣传banner" value="{$row.banner|default=''}">
                <tip></tip>
            </div>
        </div>
<input type="hidden" name="type_id" value="{$row.type_id|default=''}">
        <div class="layui-form-item">
            <label class="layui-form-label">服务内容图片</label>
            <div class="layui-input-block layuimini-upload">
                <input name="content_imgs" class="layui-input layui-col-xs6 imgs" placeholder="请上传服务内容图片" value="{$row.content_imgs|default=''}">
                <tip></tip>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">预约人数</label>
            <div class="layui-input-block">
                <input type="text" id="get_order_num_count" name="get_order_num_count" readonly class="layui-input" lay-reqtext="请输入预约人数" placeholder="请输入预约人数" value="{$row.get_order_num_count|default=''}">
                <tip></tip>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">适用人群</label>
            <div class="layui-input-block">
                <textarea name="intended" class="layui-textarea textarea" readonly placeholder="请输入适用人群">{$row.intended|default=''}</textarea>
                <tip></tip>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">状态</label>
            <div class="layui-input-block">
                <input name="status" value="1" type="checkbox" class="switch" lay-skin="switch" lay-text="开启|关闭" {if $row.status==1}checked=""{/if}>
            </div>
        </div>

    </form>
</div>
<script>
    var parameter = '{$parameter|raw|default=""}';
</script>